package com.it.mapper;

import com.it.pojo.Login;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LoginMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Login record);

    int insertSelective(Login record);

    Login selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Login record);

    int updateByPrimaryKey(Login record);
    //用户电话登录
    Login SignLogin (String phone);
    //用户邮箱登录
    Login EmailLogin(String email);
}